package com.kingdee.eas.jftz.safe.logbook;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class DutyNetCollection extends AbstractObjectCollection 
{
    public DutyNetCollection()
    {
        super(DutyNetInfo.class);
    }
    public boolean add(DutyNetInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(DutyNetCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(DutyNetInfo item)
    {
        return removeObject(item);
    }
    public DutyNetInfo get(int index)
    {
        return(DutyNetInfo)getObject(index);
    }
    public DutyNetInfo get(Object key)
    {
        return(DutyNetInfo)getObject(key);
    }
    public void set(int index, DutyNetInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(DutyNetInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(DutyNetInfo item)
    {
        return super.indexOf(item);
    }
}